Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(polybar): multiple devices flicker, added icons #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RayJameson
Copy link

@RayJameson RayJameson commented Oct 23, 2024

Hello! Thanks for this awesome arch flavor!
If you don't mind I would like to suggest this PR for bluetooth widget in polybar
I hope you'll like this solution more than suggested in #10

This PR fixes flickering problem when multiple devices connected and also adds new feature:

If only one device connected: Show icon according to device type and it's alias
If >1 devices connected: Show only icons according to their device type
I didn't cover every single type of device, but I believe it should be enough

Result:
1 device
image

>1 device
image

If only one device connected: Show icon according to device type and
it's alias
If >1 devices connected: Show only icons according to their device
type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant